<?php

class Blog_Form_Browse_Add extends Nuo_Form
{
	function init()
	{
		$this -> addChild('text', 'title', array(
			'label' => 'Title',
			'rules' => array('required')
		));
		
		

		$this -> addChild('textarea', 'body', array(
			'label' => 'Content',
			'rules' => array('required'),
			'class' => 'mceEditor',
		));

		$this -> addChild('group', '_footer');

		$this -> _footer -> addChild('submit', '_submit') -> addChild('cancel', '_cancel');
	}

}
